Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix too small new order issue and etc #784

Open
wants to merge 2 commits into
base: devel
Choose a base branch
from

Conversation

abitmore
Copy link

@abitmore abitmore commented Aug 1, 2022

No description provided.

# b) a lot of "exceeded" funds on the current side which will be used to upsize orders deep down
# in the order book later, which makes the situation worse and harder to recover.
# Using the 2nd closest opposite order mitigates the problem.
# Ideally still need logic to check whether the closest own order is partial and upsize it if so.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not easy to check and can not always upsize, especially when orders on one side are significantly larger.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done writing some code. Testing locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant